#pragma once

//class Plant;
//#include "Plant.h"

//extern vector<vector<Plant*>> _grass;

struct Harm_to_plants
{
	Harm_to_plants(int x, int y, int damage) : _x(x), _y(y), _damage(damage) {}

	int _x;
	int _y;
	int _damage;
};

class Obverse
{
public:

	//void Behavior()
	//{
		//auto it = _harm_plant.begin();
		//while (it != _harm_plant.end())
		//{
		//	auto pit = it++;
		//	if (_grass[gTov_y((*pit)._y)][gTov_x((*pit)._x)])
		//	{
		//		_grass[gTov_y((*pit)._y)][gTov_x((*pit)._x)]->Hp_Change((*pit)._damage);
		//		_harm_plant.pop_front();
		//	}

		//}
	//}

	list<Harm_to_plants> _harm_plant;
};